.login {
  width: 100vw;
  height: 100vh;
  position: absolute;
  background: #45aae1;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  .footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    & > div {
      cursor: pointer;
      &:hover {
        color: rgb(54, 54, 246);
      }
    }
  }
}
.jjw_form {
  width: 400px;
  height: 320px;
  background: rgba(255, 255, 255, 0.1); //背景透明和滤镜组合形成毛玻璃效果
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 20px 40px 0 40px;
  box-sizing: border-box;
  overflow: hidden;
}
.jjw_form_item {
  width: 100%;
  height: 50px;
  //   background: gold;
  border-bottom: 2px solid #fff;
  margin-top: 25px;
  position: relative;
  transition: 0.5s;
  .jjw_ipt {
    border: 0;
    position: absolute;
    left: 0;
    top: 30px;
    z-index: 2;
    height: 25px;
    width: 100%;
    background: rgba(255, 255, 255, 0); //透明input框的背景色
    text-indent: 20px;
    outline-style: none;
  }

  .jjw_label {
    position: absolute;
    bottom: 0;
    left: 20px;
    .jjw_span {
      margin-right: 3px;
      margin-bottom: 3px;
      font-size: 18px;
      display: inline-block;
      transition: all 0.3s ease-in-out;
      color: #f00;
    }
  }
  .jjw_label1 {
    position: absolute;
    bottom: 0;
    left: 20px;
    .jjw_span1 {
      margin-right: 3px;
      margin-bottom: 3px;
      font-size: 18px;
      display: inline-block;
      transition: all 0.3s ease-in-out;
      transform: translateY(-20px);
      color: #000;
    }
  }
}
// 在css中，focus选择器主要用于设置输入框获得焦点时的样式。
.jjw_form_item .jjw_ipt:focus + label span {
  //translateY 缩放
  transform: translateY(-15px);
  color: #000;
  // transition-delay:0ms ;动画延时
}
.jjw_btn {
  width: 100%;
  height: 35px;
  border-radius: 5px;
  font-size: 18px;
  background: rgb(27, 137, 255);
  cursor: pointer;
}
.option {
  width: 320px;
  position: relative;

  section {
    width: 110px;
    height: 30px;
    background: rgba(244, 241, 215, 0.5);
    border-radius: 10px;
    position: absolute;
    left: 33px;
    top: 4px;
    transition: 0.5s;
  }
}
.option h2:nth-of-type(2) {
  right: 0px;
}
.red {
  color: rgb(249, 73, 73);
}
.underline {
  animation-name: tab;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}
@keyframes tab {
  // 从左到右的动画
  0% {
    height: 25px;
  }

  30% {
    height: 2px;
    transform: translate(45px, 12px);
  }
  70% {
    height: 2px;
    transform: translate(160px, 12px);
  }
  100% {
    transform: translateX(148px);
    height: 25px;
  }
}
//从右到左返回的动画
.back {
  animation-name: back;
  animation-duration: 0.3s;
  animation-timing-function: linear;
}
@keyframes back {
  0% {
    height: 25px;
    transform: translateX(148px);
  }

  30% {
    height: 2px;
    transform: translate(160px, 12px);
  }
  70% {
    height: 2px;
    transform: translate(45px, 12px);
  }
  100% {
    height: 25px;
  }
}

.qrCode {
  position: absolute;
  top: 75px;
  left: 120px;
  transition: 0.5s;
  transform: translate(0px);
  p {
    padding-top: 20px;
    color: rgb(72, 72, 247);
    font-size: 18px;
    margin-left: -30px;
  }
  img {
    width: 150px;
  }
}
